package com.postracker.postracker.io.csv;

import java.io.File;

import com.postracker.postracker.io.TableList;

public class CsvFileFactory {
	private static final CsvFileFactory INSTANCE = new CsvFileFactory();

	private CsvFileFactory() {
		// Nothing to do, just limiting scope
	}

	public static CsvFileFactory getInstance() {
		return INSTANCE;
	}

	public TableList createTablesFromFolder(String folderPath) {
		return new TablesFolder(new File(folderPath), new BufferedTableCsvFile());
	}
}
